<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<div class="t_bar">
	<span class="color_red">*</span>1、企业类实验室 
</div>
<table id="eq_table6" class="t_css" width="100%">
<col style="width: 5%"/>
<col style="width: 5%"/>
<col style="width: 40%"/>
<col style="width: 18%"/>
<col style="width: 16%"/>
<col style="width: 16%"/>

    <thead >
        <tr style="border:1px solid #B7D1E6">
            <th class="TblHead" align="center">选择</th>
            <th class="TblHead" align="center">序号</th>
            <th class="TblHead" align="center">成果名称</th>
            <th class="TblHead" align="center">转化时间</th>
            <th class="TblHead" align="center">新增销售收入（万元）</th>
            <th class="TblHead" align="center">利润总额（万元）</th>
        </tr>
    </thead>
    <tbody id="tab">
        <tr style="display:none">
            <td align="center">
                <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="selButton6" >
            </td>
            <td align="center">
                <span name="enterprise_labs|enterprise_lab[0]@seq_no" >[index]</span> 
            </td>
            <td align="center">
                <input type="text" name="enterprise_labs|enterprise_lab[0]|result_name" class="required" maxlength="60" style="width:80%" label="成果名称" value="" />
            </td>
            <td align="center">
                <cpt:date id="conversion1_date[index]" name="enterprise_labs|enterprise_lab[0]|conversion1_date" value="" className="required date" label="转化时间" size="12"></cpt:date>
            </td>
            <td align="center">
                <input type="text" name="enterprise_labs|enterprise_lab[0]|new_funding" class="required" onfocus="InitInput.setNumber(this,9,2,2,'',true)" style="width:80%;text-align: right;" label="新增销售收入" value="" />
            </td>
            <td align="center">
                <input type="text" name="enterprise_labs|enterprise_lab[0]|total_funding" class="required" onfocus="InitInput.setNumber(this,9,2,2,'',true)" style="width:80%;text-align: right;" label="利润总额" value="" />
            </td>
        </tr>
    
    
        <c:set value="0" var="index" scope="page"/>
        <x:forEach select="$xmlData/data/enterprise_labs/enterprise_lab" var="enterprise_lab">
            <c:choose>
                <c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
                <c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
            </c:choose>
            <tr>
                <td align="center">
                    <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="selButton6" >
                </td>
                <td align="center">
                    <span name="enterprise_labs/enterprise_lab[${flag}${index}]@seq_no"><x:out select="$enterprise_lab/@seq_no"/></span> 
                </td>
                <td align="center">
                    <input type="text" name="enterprise_labs/enterprise_lab[${flag}${index}]/result_name" value="<x:out select="$enterprise_lab/result_name" />"  maxlength="60" class="required" style="width:80%" label="成果名称 "/>
                </td>
                <td align="center">
                    <c:set var="conversion1_date"><x:out select="$enterprise_lab/conversion1_date"/></c:set>
                    <cpt:date id="conversion1_date${index }" name="enterprise_labs/enterprise_lab[${flag}${index}]/conversion1_date" value="${conversion1_date }" className="required date" label="转化时间" size="12"></cpt:date>
                </td>
                <td align="center">
                    <input type="text" name="enterprise_labs/enterprise_lab[${flag}${index}]/new_funding" class="required" style="width:80%;text-align: right;" onfocus="InitInput.setNumber(this,9,2,2,'',true)" label="新增销售收入" value="<x:out select="$enterprise_lab/new_funding"/>"/>
                </td>
                <td align="center">
                    <input type="text" name="enterprise_labs/enterprise_lab[${flag}${index}]/total_funding" class="required" style="width:80%;text-align: right;" onfocus="InitInput.setNumber(this,9,2,2,'',true)" label="利润总额" value="<x:out select="$enterprise_lab/total_funding"/>"/>
                </td>
            </tr>
            <c:set value="${index+1}" var="index" scope="page"/>
        </x:forEach>
    </tbody>
</table>
<table width="98%" align="center">
    <tr>
        <td>
            <input class="button_02" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('eq_table6',999,'企业类实验室内容最多只能填写999条')){addNewRow('eq_table6');showDateTag('eq_table6');}try{top.resizeFrame();}catch(e){};">
            <input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('eq_table6','selButton6');">
            <input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('eq_table6','selButton6');">
            <input class="button_02" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('eq_table6','企业类实验室');">
        </td>
    </tr>
</table>

<div class="t_bar">
	<span class="color_red">*</span>2、高校院所类实验室
</div>
<table id="eq_table7" class="t_css" width="100%">
<col style="width: 5%"/>
<col style="width: 5%"/>
<col style="width: 40%"/>
<col style="width: 18%"/>
<col style="width: 16%"/>
<col style="width: 16%"/>

    <thead >
        <tr style="border:1px solid #B7D1E6">
            <th class="TblHead" align="center">选择</th>
            <th class="TblHead" align="center">序号</th>
            <th class="TblHead" align="center">成果名称</th>
            <th class="TblHead" align="center">转化时间</th>
            <th class="TblHead" align="center">横向合作实际到账金额<br/>（万元）</th>
            <th class="TblHead" align="center">技术成果作价入股金额<br/>（万元）</th>
        </tr>
    </thead>
    <tbody id="tab">
        <tr style="display:none">
            <td align="center">
                <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="selButton7" >
            </td>
            <td align="center">
                <span name="universities_labs|universities_lab[0]@seq_no" >[index]</span> 
            </td>
            <td align="center">
                <input type="text" name="universities_labs|universities_lab[0]|result_name" class="required" maxlength="60" style="width:80%" label="成果名称" value="" />
            </td>
            <td align="center">
                <cpt:date id="conversion2_date[index]" name="universities_labs|universities_lab[0]|conversion2_date" value="" className="required date" label="转化时间" size="12"></cpt:date>
            </td>
            <td align="center">
                <input type="text" name="universities_labs|universities_lab[0]|arrival_funding" class="required" onfocus="InitInput.setNumber(this,9,2,2)" style="width:80%;text-align: right;" label="横向合作实际到账金额" value="" />
            </td>
            <td align="center">
                <input type="text" name="universities_labs|universities_lab[0]|shares_funding" class="required" onfocus="InitInput.setNumber(this,9,2,2)" style="width:80%;text-align: right;" label="技术成果作价入股金额" value="" />
            </td>
        </tr>
    
    
        <c:set value="0" var="index" scope="page"/>
        <x:forEach select="$xmlData/data/universities_labs/universities_lab" var="universities_lab">
            <c:choose>
                <c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
                <c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
            </c:choose>
            <tr>
                <td align="center">
                    <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="selButton7" >
                </td>
                <td align="center">
                    <span name="universities_labs/universities_lab[${flag}${index}]@seq_no"><x:out select="$universities_lab/@seq_no"/></span> 
                </td>
                <td align="center">
                    <input type="text" name="universities_labs/universities_lab[${flag}${index}]/result_name" value="<x:out select="$universities_lab/result_name" />"  maxlength="60" class="required" style="width:80%" label="成果名称 "/>
                </td>
                <td align="center">
                    <c:set var="conversion2_date"><x:out select="$universities_lab/conversion2_date"/></c:set>
                    <cpt:date id="conversion2_date${index }" name="universities_labs/universities_lab[${flag}${index}]/conversion2_date" value="${conversion2_date }" className="required date" label="转化时间" size="12"></cpt:date>
                </td>
                <td align="center">
                    <input type="text" name="universities_labs/universities_lab[${flag}${index}]/arrival_funding" class="required" style="width:80%;text-align: right;" onfocus="InitInput.setNumber(this,9,2,2)" label="横向合作实际到账金额" value="<x:out select="$universities_lab/arrival_funding"/>"/>
                </td>
                <td align="center">
                    <input type="text" name="universities_labs/universities_lab[${flag}${index}]/shares_funding" class="required" style="width:80%;text-align: right;" onfocus="InitInput.setNumber(this,9,2,2)" label="技术成果作价入股金额" value="<x:out select="$universities_lab/shares_funding"/>"/>
                </td>
            </tr>
            <c:set value="${index+1}" var="index" scope="page"/>
        </x:forEach>
    </tbody>
</table>
<table width="98%" align="center">
    <tr>
        <td>
            <input class="button_02" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('eq_table7',999,'高校院所类实验室内容最多只能填写999条')){addNewRow('eq_table7');showDateTag('eq_table7');}try{top.resizeFrame();}catch(e){};">
            <input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('eq_table7','selButton7');">
            <input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('eq_table7','selButton7');">
            <input class="button_02" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('eq_table7','高校院所类实验室');">
        </td>
    </tr>
</table>

